package com.yanq.liancar.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.vondear.rxtool.RxActivityTool;
import com.yanq.liancar.R;
import com.yanq.liancar.activity.base.BaseToolbarActivity;
import com.yanq.liancar.util.Utils;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class SmallCBuyVIPActivity extends BaseToolbarActivity {
    @BindView(R.id.tv_gobuy)
    TextView tvGobuy;
    @BindView(R.id.tv_quanyi)
    TextView tv_quanyi;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //RxBarTool.setStatusBarColor(this, R.color.main_color);
        Utils.setStatusBar(this, true, false);
        setContentView(R.layout.activity_smallcbuyvip);
        mTvTitle.setText("购买会员");
        ButterKnife.bind(this);

    }

    @OnClick({R.id.tv_gobuy, R.id.tv_quanyi})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_gobuy:
                RxActivityTool.skipActivity(this, SmallCBuyVIPPayActivity.class);
                break;
            case R.id.tv_quanyi:
                RxActivityTool.skipActivity(this,MembershipRightsActivity.class );
                break;
        }
    }
}
